home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc™ Source Code / Dialogs / DraftWLD.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-28  |  1.3 KB  |  65 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        DraftWLD.h
  3.  
  4.     Contains:    header for LDEF for Drafts dialog.
  5.  
  6.     Owned by:    Eric House
  7.  
  8.     Copyright:    © 1994 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <0>     6/7/96    eeh        first checked in (moved from ::DocShell:)
  13.  
  14.     To Do:
  15. */
  16.  
  17. #ifndef _DRAFTWLD_
  18. #define _DRAFTWLD_
  19.  
  20. #ifndef __TYPES__
  21. #include <Types.h>
  22. #endif
  23.  
  24. #ifndef _SHELLDEF_
  25. #include "ShellDef.h"
  26. #endif
  27.  
  28. #ifndef _DRAFTWN_
  29. #include "DraftWn.h"
  30. #endif
  31.  
  32. struct DWStringsArray {
  33.     Str255 creator;
  34.     Str255 draft;
  35.     Str255 created;
  36.     Str255 comment;
  37. };
  38. typedef struct DWStringsArray DWStringsArray;
  39.  
  40. //typedef    ODBoolean (*GetDWUserStringProc)( DraftInfoRec *self, ODSShort row,
  41. //        DWStringsArray* theStrings);
  42.  
  43. typedef    void (*DrawDWUserStringsProc)( struct DraftLDEFCallbackInfo *callbackInfo,
  44.         ODSShort row, const Rect* listItemRect);
  45.  
  46. struct DraftLDEFCallbackInfo {
  47.     DialogPtr dialog;
  48.     DraftInfoRec *dir;
  49.     DrawDWUserStringsProc stringsProc;
  50.     struct {
  51.         short right;
  52.         short left;
  53.         } rectEnds[4];
  54.     struct {
  55.         short right;
  56.         short left;
  57.         } arrowEnds;
  58. };
  59. typedef struct DraftLDEFCallbackInfo DraftLDEFCallbackInfo;
  60.  
  61. pascal void DRAFTWINDOWLDEF( short lMessage, Boolean lSelect, const Rect* lRect,
  62.         Cell lCell, short /*lDataOffset*/, short /*lDataLen*/, ListHandle lHandle );
  63.  
  64.  
  65. #endif // _DRAFTWLD_